import Vue from 'vue';
import VeeValidate from 'vee-validate';
import VeeValidateZHCN from 'vee-validate/dist/locale/zh_CN';

import router from './router/index';
import store from './store/index';

VeeValidate.Validator.localize('zh_CN', VeeValidateZHCN);

Vue.use(VeeValidate);

import App from './app.vue';

new Vue({
  el: '#app',
  router: router,
  store: store,
  render: h => h(App)
});
